//bool, Obj this, Obj other

Unit me;
ItemHolder holder;

me = this.AsUnit();   
if(!me.IsValid()) return false;
holder = other.AsItemHolder();
if(!holder.IsValid()) return false;

if(me.item_count == me.max_items) return false;
if(me.IsHeirOf("RamUnit")) return false;
if(me.IsHeirOf("Wagon")) return false;
if(me.IsHeirOf("Sentry")) return false;
if(me.IsHeirOf("BaseAnimal")) return false;
if(me.IsHeirOf("ShipBattle")) return false;
if(me.IsHeirOf("ShipTransport")) return false;

return true;	
